<?php
function xml2mod($file)	{
	if (file_exists($file)) {
		$xml = simplexml_load_file($file);
	}
	else	{
		return False;
	}
	$aModList=array();
	foreach($xml as $xmlMod)	{
		$aModList[]=array("name"=>$xmlMod->name[0],"file"=>$xmlMod->file[0]);
	}
	return $aModList;
}
?>